package org.persistente.xml;

/**
 *
 * @author philipe
 */
public class StringParser extends FieldParser<String> {

    @Override
    public String parse(String value) {
        return value;
    }

    @Override
    public void parse(Context context, String value) {
        String s = (String)context.objects.pop();
        s = s == null ? value : s + value;
        context.objects.push(s);
    }
    
    
    
}
